<ion-view ng-init="init()" view-title="实名认证" cache-view="false">
  <ion-content>
    <section ng-if="state_reason" style="padding: 10px; text-align: center;">
      <p>您实名认证没有通过: {{state_reason}}</p>
    </section>
    <section class="truck_line track_line-edit fill_info">
      <ul>
        <li>
          <h4>姓名</h4>
          <input type="text" placeholder="请输入姓名" ng-model="data.name">
        </li>
        <li>
          <h4>身份证号</h4>
          <input type="text" placeholder="请输入身份证号" ng-model="data.id_card_no">
        </li>        
      </ul>      
    </section>
    <section class="cert_list cert_list-single">
      <ul>
        <li ng-click="initCamera({type: 1, seq: 1, returnUrl: 'id_card_fs'})">
          <h3 style="text-align:center">二代身份证正面</h3>
          <div ng-show="!id_card_fs" class="upload"><label></label></div>
          <div align="center" ng-show="id_card_fs"><img ng-src="{{id_card_fs}}" style="height:130px"></div>
        </li>
        <li ng-click="initCamera({type: 1, seq: 2, returnUrl: 'id_card_rs'})">
          <h3 style="text-align:center">二代身份证背面</h3>
          <div ng-show="!id_card_rs" class="upload"><label></label></div>
          <div align="center" ng-show="id_card_rs"><img ng-src="{{id_card_rs}}" style="height:130px"></div>
        </li>        
      </ul>      
    </section>
    <section class="truck_line track_line-edit fill_info">      
      <button class="btn_save" ng-click="submitIdCard()">
        提交实名认证信息
      </button>
    </section>
  </ion-content>
</ion-view>

